//
//  HomePageTableViewCell.m
//  DoneTask
//
//  Created by NeiQuan on 16/7/29.
//  Copyright © 2016年 Mr-yuwei. All rights reserved.
//

#import "HomePageTableViewCell.h"
#import "GoodPageModel.h"
#import "YWHeader.h"
@implementation HomePageTableViewCell

- (void)awakeFromNib
{
    [super awakeFromNib];
   
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setModel:(GoodPageModel *)model
{
    _model=model;
    [_goodImageView sd_setImageWithURL:[ NSURL URLWithString:[ NSString stringWithFormat:@"http://1515.cn/img/%@",model.imgUrl]] placeholderImage:[ UIImage imageNamed:@"yindaoye 750-1334"]];
    _titleLable.numberOfLines=0;
    _titleLable.text=[ NSString stringWithFormat:@"%@",model.title];
    
}

@end
